package com.kgc.novel.service.user;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kgc.novel.common.Res;
import com.kgc.novel.domain.entity.BookShelf;
import com.kgc.novel.domain.param.BookShelfParam;

import java.util.List;

public interface BookShelfService extends IService<BookShelf> {
    Res<BookShelf> selectShelfAll(BookShelfParam bookShelfParam);

    Res getSingleShelf(String id);

    Res addShelf(BookShelf bookShelf);

    Res updateShelf(BookShelf bookShelf);

    Res deleteShelf(String id);

    Res deleteAllShelf(List<String> ids);
}
